<?php

error_reporting(E_ALL);
// error_reporting(E_ERROR | E_WARNING | E_PARSE | E_NOTICE);
define('DIR',__DIR__);

define('APP',realpath(DIR.'/../'));
define('LOG',DIR.'/runtime/log/');
define('CONF',DIR.'/config');
include DIR.'/../vendor/autoload.php';

include DIR.'/core/classLoader.php';


spl_autoload_register('\app\core\classLoader::load');
use app\core\Config;
Config::init();

include DIR.'/core/functions.php';
include DIR.'/common/app.php';



